package com.lkbaby.home.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * (Banner)实体类
 *
 * @author makejava
 * @since 2022-09-21 17:07:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "banner")
public class Banner implements Serializable {
	private static final long serialVersionUID = 436428726727020354L;
	/**
	 * 主键
	 */
	@TableId(type = IdType.NONE)
	@Column(name = "id")
	private String id;

	/**
	 * 标题
	 */
	@Column(name = "title")
	private String title;
	/**
	 * 首行
	 */
	@Column(name = "first_desc")
	private String firstDesc;
	/**
	 * 尾行
	 */
	@Column(name = "second_desc")
	private String secondDesc;
	/**
	 * 头像
	 */
	@Column(name = "head_img")
	private String headImg;
	/**
	 * 头像描述
	 */
	@Column(name = "head_img_alt")
	private String headImgAlt;
	/**
	 * 背景
	 */
	@Column(name = "bg_img")
	private String bgImg;
	/**
	 * 背景描述
	 */
	@Column(name = "bg_img_alt")
	private String bgImgAlt;

}

